﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.master" AutoEventWireup="true" CodeFile="DanhSachMonThi.aspx.cs" Inherits="Admin_MonThi_DanhSachMonThi" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <h2 class="head-title">
       Danh sách môn thi
    </h2>

    <div class="row">
        <div class="col-md-6">
            <asp:Literal ID="ltrMess" runat="server"></asp:Literal>
            <asp:GridView ID="GridView1" CssClass="table table-bordered" runat="server" AutoGenerateColumns="False" Width="100%">

        <Columns>
            <asp:BoundField DataField="MaMon" HeaderText="Mã môn" />
            <asp:BoundField DataField="TenMon" HeaderText="Tên môn" />
            <asp:TemplateField HeaderText="Tác Vụ">
                <ItemTemplate>
                    <a href="capnhat.aspx?mamon=<%#Eval("MaMon") %>" class="btn btn-default" title="Sửa">
                        <i class="fa fa-pencil-square-o"></i>
                    </a>
                    <a href="xoa.aspx?mamon=<%#Eval("MaMon") %>" class="btn btn-default m-l-3" title="Xóa">
                        <i class="fa fa-trash-o"></i>
                    </a>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>

    </asp:GridView>
        </div>
    </div>
</asp:Content>

